﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Lamex.Common
{
   public class PathHelper
    {
        /// <summary> 
        /// 验证文件是否存在 
        /// </summary> 
        /// <returns>布尔值</returns> 
        public static string GetIniFile()
        {
            string inipath = Application.StartupPath + @"\config\FrequentlyFunction.ini";
            if (!File.Exists(inipath))
            {
                File.Create(inipath);
            }
            return inipath;
        }

        public static string StrPath()
        {
            string path = Application.StartupPath;
            return path;
        }
    }
}
